package com.yht.weblog.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: yht
 * @date: 2024/1/1 17:41
 * @description: Minio 配置类
 **/
@Data
@ConfigurationProperties(prefix = "minio")
@Component
public class MinioProperties {
    // 终端点的字符串
    private String endpoint;
    // 访问密钥的字符串
    private String accessKey;
    // 密钥的字符串
    private String secretKey;
    // 存储桶名称的字符串
    private String bucketName;

}
